package basics.day04.second;

public class Array {
    public static void main(String[] args) {
        int[] arr = new int[3];
        arr[0] = 1;
        arr[1] = 2;
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);

        int[] arr1 = {1, 2, 3, 2, 1, 2, 3, 4, 5, 6};
        for (int i = 0; i <= arr1.length; i++) {
            System.out.println(arr1[i]);
        }
    }
}
